package edu.upc.epe.trabajodw;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
//import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
//@RooToString
@RooEntity
public class Tipovivienda {
	
    /* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */

	@NotNull
    @Size(max = 20)
    private String tipo;
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return tipo;
	}    
}
